package com.etc;

import org.springframework.stereotype.Component;

@Component()
public class Cat extends  Pet {
    @Override
    public void weishi() {
        System.out.println("这是猫" + getName() + "被喂食");
    }

}
